[INFO] cloning repository https://github.com/trudransh/ticket_buyingdapp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trudransh/ticket_buyingdapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrudransh%2Fticket_buyingdapp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrudransh%2Fticket_buyingdapp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5b8b261294e6cb8e811bb79276da4d0c633eebf2
[INFO] fixing trudransh/ticket_buyingdapp against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrudransh%2Fticket_buyingdapp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/trudransh/ticket_buyingdapp
[INFO] finished tweaking git repo https://github.com/trudransh/ticket_buyingdapp
[INFO] tweaked toml for git repo https://github.com/trudransh/ticket_buyingdapp written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/trudransh/ticket_buyingdapp on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/trudransh/ticket_buyingdapp already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9cc27ee4852ecdf753aceae5195dfe1cf2cac0b617c96e36c42d564de14b2584
[INFO] running `Command { std: "docker" "start" "9cc27ee4852ecdf753aceae5195dfe1cf2cac0b617c96e36c42d564de14b2584", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9cc27ee4852ecdf753aceae5195dfe1cf2cac0b617c96e36c42d564de14b2584" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9cc27ee4852ecdf753aceae5195dfe1cf2cac0b617c96e36c42d564de14b2584", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9cc27ee4852ecdf753aceae5195dfe1cf2cac0b617c96e36c42d564de14b2584" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating src/nft_ticketing_backend/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling serde v1.0.192
[INFO] [stderr]    Compiling hashbrown v0.14.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling winnow v0.5.19
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling candid v0.9.11
[INFO] [stderr]    Compiling termcolor v1.4.0
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling data-encoding v2.4.0
[INFO] [stderr]     Checking pretty v0.12.3
[INFO] [stderr]     Checking ic0 v0.21.1
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling serde_derive v1.0.192
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]    Compiling candid_derive v0.6.4
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling num_enum_derive v0.6.1
[INFO] [stderr]    Compiling num_enum v0.6.1
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]     Checking serde_bytes v0.11.12
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling ic-cdk-macros v0.8.1
[INFO] [stderr]     Checking ic-cdk v0.11.3
[INFO] [stderr]     Checking nft_ticketing_backend v0.1.0 (/opt/rustwide/workdir/src/nft_ticketing_backend)
[INFO] [stderr]    Migrating src/nft_ticketing_backend/src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |         if EVENTS.contains_key(&id) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         EVENTS.insert(id.clone(), event.clone());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:94:27
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let event = match EVENTS.get(&event_id) {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if TICKETS.contains_key(&ticket_id) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         NFT_METADATA.insert(ticket_id.clone(), nft_metadata);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  61 - static mut NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  61 + static NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         TICKETS.insert(ticket_id, ticket.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:149:28
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ticket = match TICKETS.get_mut(&ticket_id) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 | /         TICKETS
[INFO] [stdout] 172 | |             .get(&ticket_id.to_string())
[INFO] [stdout]     | |________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |         EVENTS.get(&event_id).cloned()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:190:28
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let ticket = match TICKETS.get(&ticket_id) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:196:32
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let event_date = match EVENTS.get(&ticket.event_id) {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 |         TICKETS.remove(&ticket_id);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |         NFT_METADATA.remove(&ticket_id);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  61 - static mut NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  61 + static NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:230:21
[INFO] [stdout]     |
[INFO] [stdout] 230 |         let event = EVENTS.get_mut(&id).ok_or("Event not found".to_string())?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:252:12
[INFO] [stdout]     |
[INFO] [stdout] 252 |         if EVENTS.remove(&id).is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |         if EVENTS.contains_key(&id) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.18s
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         EVENTS.insert(id.clone(), event.clone());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:94:27
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let event = match EVENTS.get(&event_id) {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if TICKETS.contains_key(&ticket_id) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         NFT_METADATA.insert(ticket_id.clone(), nft_metadata);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  61 - static mut NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  61 + static NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         TICKETS.insert(ticket_id, ticket.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:149:28
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ticket = match TICKETS.get_mut(&ticket_id) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 | /         TICKETS
[INFO] [stdout] 172 | |             .get(&ticket_id.to_string())
[INFO] [stdout]     | |________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |         EVENTS.get(&event_id).cloned()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:190:28
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let ticket = match TICKETS.get(&ticket_id) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:196:32
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let event_date = match EVENTS.get(&ticket.event_id) {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 |         TICKETS.remove(&ticket_id);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |         NFT_METADATA.remove(&ticket_id);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  61 - static mut NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  61 + static NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:230:21
[INFO] [stdout]     |
[INFO] [stdout] 230 |         let event = EVENTS.get_mut(&id).ok_or("Event not found".to_string())?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:252:12
[INFO] [stdout]     |
[INFO] [stdout] 252 |         if EVENTS.remove(&id).is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: nft_ticketing_backend v0.1.0 (/opt/rustwide/workdir/src/nft_ticketing_backend) updating edition from 2021 to 2024
[INFO] [stderr]     Checking nft_ticketing_backend v0.1.0 (/opt/rustwide/workdir/src/nft_ticketing_backend)
[INFO] [stdout] warning: struct `Metadata` is never constructed
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct Metadata {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |         if EVENTS.contains_key(&id) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         EVENTS.insert(id.clone(), event.clone());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:94:27
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let event = match EVENTS.get(&event_id) {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if TICKETS.contains_key(&ticket_id) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         NFT_METADATA.insert(ticket_id.clone(), nft_metadata);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  61 - static mut NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  61 + static NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         TICKETS.insert(ticket_id, ticket.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:149:28
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ticket = match TICKETS.get_mut(&ticket_id) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 | /         TICKETS
[INFO] [stdout] 172 | |             .get(&ticket_id.to_string())
[INFO] [stdout]     | |________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |         EVENTS.get(&event_id).cloned()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:190:28
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let ticket = match TICKETS.get(&ticket_id) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:196:32
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let event_date = match EVENTS.get(&ticket.event_id) {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 |         TICKETS.remove(&ticket_id);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |         NFT_METADATA.remove(&ticket_id);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  61 - static mut NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  61 + static NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:230:21
[INFO] [stdout]     |
[INFO] [stdout] 230 |         let event = EVENTS.get_mut(&id).ok_or("Event not found".to_string())?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:252:12
[INFO] [stdout]     |
[INFO] [stdout] 252 |         if EVENTS.remove(&id).is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nft_ticketing_backend` (lib) due to 15 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: struct `Metadata` is never constructed
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct Metadata {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |         if EVENTS.contains_key(&id) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         EVENTS.insert(id.clone(), event.clone());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/nft_ticketing_backend/src/lib.rs:94:27
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let event = match EVENTS.get(&event_id) {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if TICKETS.contains_key(&ticket_id) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         NFT_METADATA.insert(ticket_id.clone(), nft_metadata);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  61 - static mut NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  61 + static NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         TICKETS.insert(ticket_id, ticket.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:149:28
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ticket = match TICKETS.get_mut(&ticket_id) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 | /         TICKETS
[INFO] [stdout] 172 | |             .get(&ticket_id.to_string())
[INFO] [stdout]     | |________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |         EVENTS.get(&event_id).cloned()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:190:28
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let ticket = match TICKETS.get(&ticket_id) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:196:32
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let event_date = match EVENTS.get(&ticket.event_id) {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 |         TICKETS.remove(&ticket_id);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  60 - static mut TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  60 + static TICKETS: Lazy<HashMap<String, Ticket>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |         NFT_METADATA.remove(&ticket_id);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  61 - static mut NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  61 + static NFT_METADATA: Lazy<HashMap<String, NFTMetadata>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:230:21
[INFO] [stdout]     |
[INFO] [stdout] 230 |         let event = EVENTS.get_mut(&id).ok_or("Event not found".to_string())?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/nft_ticketing_backend/src/lib.rs:252:12
[INFO] [stdout]     |
[INFO] [stdout] 252 |         if EVENTS.remove(&id).is_some() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  59 - static mut EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]  59 + static EVENTS: Lazy<HashMap<String, Event>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nft_ticketing_backend` (lib test) due to 15 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "9cc27ee4852ecdf753aceae5195dfe1cf2cac0b617c96e36c42d564de14b2584", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cc27ee4852ecdf753aceae5195dfe1cf2cac0b617c96e36c42d564de14b2584", kill_on_drop: false }`
[INFO] [stdout] 9cc27ee4852ecdf753aceae5195dfe1cf2cac0b617c96e36c42d564de14b2584
